package com.anhry.app.safety.util;

public class Constants {
	
	public static final String DISTRICT_NAME= "运城市";
	// 110113 000 ??? why add 3 0?
	public static final String DISTRICT_CODE= "140800";
	
	public static final String ENTERPRISE_INITIAL_PASSWORD = "123456";
	public static final String USER_PASSWORD = "123456";

	//安委会部门类别
	public static final String DEPT_TYPE_ID_OF_SAFETYCOMMIT = "0";
	// 科室部门类别
	public static final String DEPT_TYPE_ID_OF_OFFICE = "1";
	// 行业部门类别
	public static final String DEPT_TYPE_ID_OF_INDUSTRY = "2";
	// 属地部门类别
	public static final String DEPT_TYPE_ID_OF_DISTRICT = "3";
	
	//超级管理员
	public static final String USER_GRADE_ID_OF_SUPER_ADMIN = "0";
	//管理员
	public static final String USER_GRADE_ID_OF_ADMIN = "1";
	//市安办
	public static final String USER_GRADE_ID_OF_CITY_SAFETYCOMMIT = "2";
	//市科室用户级别ID
	public static final String USER_GRADE_ID_OF_CITY_OFFICE = "3";
	//区科室用户级别ID
	public static final String USER_GRADE_ID_OF_DISTRICT_OFFICE = "4";
	//市行业用户级别ID
	public static final String USER_GRADE_ID_OF_CITY_INDUSTRY = "5";
	//区行业用户级别ID
	public static final String USER_GRADE_ID_OF_DISTRICT_INDUSTRY = "6";
	//属地用户级别ID
	public static final String USER_GRADE_ID_OF_DISTRICT = "7";
	//区安办
	public static final String USER_GRADE_ID_OF_DISTRICT_SAFETYCOMMIT = "8";
	
	//部门级别针对科室，行业： 1：省 2：市 3：县(市、区)、开发区
	//省
	public static final String DEPT_GRADE_PROVINCE = "1";
	//市 
	public static final String DEPT_GRADE_CITY = "2";
	//县(市、区)、开发区
	public static final String DEPT_GRADE_COUNTRY = "3";
	
	//部门细分类别:
	//科室--安监局
	public static final String DEPT_CLASS_SAFETY_BUREAU = "1";
	//科室--综合监管
	public static final String DEPT_CLASS_ALL_SUPERVISION= "2";
	//科室--行业监管
	public static final String DEPT_CLASS_OFFICE_INDUSTTR_SUPERVISION = "3";
	
	//行业-行业监管
	public static final String DEPT_CLASS_INDUSTRY_SUPERVISION = "1";
	//行业-专业监管
	public static final String DEPT_CLASS_EXPERT_SUPERVISION = "2";
	
	public static final String CITY_SUPERVISION = "40";
	
	//职务字符串常量
	//'1':'局长','2':'副局长','3':'科长','4':'主任','5':'副科长','6':'副主任','7':'科员'
	public static final Integer DIRECTIOR_ID = 1;
	public static final Integer VICE_DIRECTOR_ID = 2;
	public static final Integer SECTION_CHIEF_ID = 3;
	public static final Integer SECTION_HEAD = 4;
	public static final Integer VICE_SECTION_CHIEF_ID = 5;
	public static final Integer VICE_SECTION_HEAD = 6;
	public static final Integer CLERK_ID = 7;
	
	
	//企业人员类别
	//企业法人 
	public static final String COPR_LEGAL_PERSON = "1";
	//企业主要负责人 
	public static final String CORP_MAIN_PERSON = "2";
	//企业安全负责人 
	public static final String CORP_SAFETY_PERSON = "3";
	
	public static final String OPERATION_UPDATE = "2";
	public static final String OPERATION_DELETE = "3";
	
	//企业隶属关系字符串 
	//中央：10；省：20；市、地区：40；县：50；街道、镇、乡：60；街道：61；镇：62；乡：63；居民、村民委员会：70；居民委员会：71；村民委员会：72；其他：90。 
	public static final String CORP_RELATIONSHIP = "<option value='10'>中央企业</option><option value='20'>省属企业</option>" +
			"<option value='40'>市、区属企业</option><option value='50'>县属企业</option><option value='60'>街道、镇、乡属企业</option><option value='61'>街道企业</option> " +
			"<option value='62'>镇属企业</option><option value='63'>乡属企业</option><option value='70'>居民、村民委员会</option><option value='71'>居民委员会</option>" +
			"<option value='72'>村民委员会</option><option value='90'>其他</option>";
	
	//国民经济类型分类页面字符串 
	public static final String ECONOMIC_TYPES = "<option value='10'>内资企业</option><option value='11'>国有全资</option><option value='12'>集体全资</option>" +
			"<option value='13'>股份合作</option>	<option value='14'>联营</option><option value='15'>有限责任(公司)</option>" +
			"<option value='16'>股份有限(公司)</option><option value='17'>私营企业</option><option value='19'>其他内资</option>" +
			"<option value='20'>港、澳、台商投资企业</option><option value='21'>内地和港、澳、台合资</option><option value='22'>内地和港、澳、台合作</option>" +
			"<option value='23'>港、澳、台独资</option><option value='24'>内地和港、澳、台投资股份有限(公司)</option>" +
			"<option value='29'>其它港、澳、台投资</option><option value='30'>国外投资</option><option value='31'>中外合资</option>" +
			"<option value='32'>中外合作</option><option value='33'>外资</option><option value='34'>国外投资股份有限(公司)</option>" +
			"<option value='39'>其它国外投资</option><option value='90'>其他</option>";
	
	//用于权限控制的常量
	public static final int CREATE = 0;
	public static final int READ = 1;
	public static final int UPDATE = 2;
	public static final int DELETE = 3;
	
	//市行业专项部门ID
	//安监局职业安全健康监督管理科（职业健康）
	public static String CITY_OFFICE_OCCUPATION_HEALTH_ID = "5293";
	//气象局
	public static String CITY_INDUSTRY_METEOROLOGICAL_BUREAU_ID = "5312";
	//公安局
	public static String CITY_INDUSTRY_PUBLIC_SECURITY_BUREAU_ID = "3282";
	//质监局
	public static String CITY_INDUSTRY_QUALITY_SUPERVISION_BUREAU_ID = "5310";
	//消防局
	public static String CITY_INDUSTRY_FIRE_STATION_BUREAU_ID = "5311";
}
